<template>
  <div class="home" :class="{'isNotWechat':!isWeixin}">
    <v-head v-if="!isWeixin"></v-head>
    <router-view/>
  </div>
</template>

<script>
  import vHead from './Header'
  export default {
    name:'Home',
    components:{
      vHead
    }
  }
</script>

<style lang="scss" scoped>
  .home{
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    overflow: auto;
    &.isNotWechat{
      padding: 88px 0 0 0;
    }
  }
</style>

